package com.yby.dome7;

/**
 * 厨师类
 * 厨师类继承餐厅类
 */
class Cook extends Restaurant{
    public void work(){
        Restaurant restaurant = new Restaurant();
        System.out.println("厨师说："+customer.orders+"做好了");
    }
}
